package com.xd.guessmusic.model;

/**
 * 歌曲类
 * Created by DGF on 2015/5/22.
 */
public class Song {
    /**
     * 名称
     */
    private String name;
    /**
     * 文件名
     */
    private String fileName;
    /**
     * 名称长度
     */
    private int nameLength;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getNameLength() {
        return this.name.length();
    }

    /**
     * 获取名称的字符数组
     * @return
     */
    public char[] getNameCharacters(){
        return name.toCharArray();
    }
}
